# coding:utf-8
# remove items
thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
print(thisdict)
# remove items
thisdict.pop("model")
print(thisdict)
#The popitem() method removes the last inserted item
# (in versions before 3.7, a random item is removed instead):
thisdict.popitem()
print(thisdict)
thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
print(thisdict)
del thisdict["model"]
print(thisdict)